<?php
/**
 * Created by Ling.
 * User: Ling
 * Date: 2020/8/26
 * Time:10:31
 * @email: L_ing1992@163.com
 */

namespace App\Http\Validates;


interface ValidateInterface
{
    /**
     * 规则
     * @return array
     */
    public function getRules(): array;

    /**
     * 错误信息
     * @return array
     */
    public function getMessages(): array;
}
